#include "./include/rparam.h"
#include "./include/rparamcls.h"

// 允许以传值或者引用的方式传递参数的函数
template <typename T1, typename T2>
void foo(typename RParam<T1>::Type p1,
         typename RParam<T2>::Type p2)
{
}

int main()
{
    MyClass1 mc1;
    MyClass2 mc2;
    foo<MyClass1, MyClass2>(mc1, mc2);
}